using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;    
using System.Data.Linq.Mapping;
namespace MRSite.Entity
{
    /// <summary>
    /// 每日总平台资产统计
    /// </summary>
    [Table(Name = "report_site_zichan_day")]
    public class Report_Site_ZiChan_Day : Entity
    {
        /// <summary>
        ///自增ID
        /// </summary>
        [Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
        public override int id { get; set; }

        /// <summary>
        /// 统计日期
        /// </summary>
        [Column(Name = "tjtime")]
        public DateTime tjtime { get; set; }

       
        /// <summary>
        /// 昨日0：01～24点当天折扣数量 
        /// </summary>
        [Column(Name = "hongbao_yestoday")]
        public decimal hongbao_yestoday { get; set; }

     
        /// <summary>
        /// 至昨日24点止折扣总数量  
        /// </summary>
        [Column(Name = "hongbao_total")]
        public decimal hongbao_total { get; set; }

        /// <summary>
        /// 昨日0：01～24点当天爱心公益折扣数量
        /// </summary>
        [Column(Name = "aixin_yestoday")]
        public decimal aixin_yestoday { get; set; }


        /// <summary>
        /// 至昨日24点止爱心公益折扣总数量
        /// </summary>
        [Column(Name = "aixin_today")]
        public decimal aixin_today { get; set; }

        /// <summary>
        /// 至昨日24点止可用共建值总数量
        /// </summary>
        [Column(Name = "golds_total")]
        public decimal golds_total { get; set; }


        /// <summary>
        /// 至昨日24点止所有共建值总数量（含锁仓/可用/养老/首购/网点）
        /// </summary>
        [Column(Name = "zichan_total")]
        public decimal zichan_total { get; set; }

        /// <summary>
        /// 年
        /// </summary>
        [Column(Name = "year")]
        public int year { get; set; }

        /// <summary>
        /// 月
        /// </summary>
        [Column(Name = "month")]
        public int month { get; set; }


        /// <summary>
        /// 日
        /// </summary>
        [Column(Name = "day")]
        public int day { get; set; }

          /// <summary>
        /// 添加时间
        /// </summary>
        [Column(Name = "addtime")]
        public DateTime addtime { get; set; }

       
    }


}  


